Skip to content

Conversation

@sasdf
Copy link
Contributor

@sasdf sasdf commented Feb 9, 2026

This PR enables coverage collection during provisioning tests. Currently,

  • SRAM-based firmwares are excluded due to SRAM size limitations and the overhead associated with instrumentation.
  • ROM_EXT (mutable/immutable) coverage is reported correctly.
  • Perso reports some coverage data, though the results appear incorrect and will require future investigation.

@sasdf sasdf force-pushed the mgT40f041a2 branch 2 times, most recently from fb5e4ee to 1470770 Compare February 10, 2026 04:02
Explicitly disable code coverage for SRAM-based manufacturing
binaries, as coverage counters exceed the available SRAM
capacity.

Change-Id: I0499025671bd145a023d0c497b26caf8f304d06d
Signed-off-by: Yi-Hsuan Deng <[email protected]>
Instrumenting the provisioning_data ujson module consumes
about 29K of RAM, causing the personalization binary to
exceed the SRAM capacity. This change disables coverage
instrumentation for this library to reduce memory usage,
as the module consists mostly of generated code.

Change-Id: I728720a42c0eb143e5bdfdae15b229322f399424
Signed-off-by: Yi-Hsuan Deng <[email protected]>
@sasdf sasdf force-pushed the mgT40f041a2 branch 4 times, most recently from 30b821a to c74932d Compare February 10, 2026 16:36
This change updates the orchestrator end-to-end tests to support
code coverage collection.

Change-Id: I40f041a245fa7a3e14177aa62514d9f529521c35
Signed-off-by: Yi-Hsuan Deng <[email protected]>
@sasdf sasdf marked this pull request as ready for review February 11, 2026 12:28
@sasdf sasdf requested a review from a team as a code owner February 11, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant